import { EventLogService } from './event-log.service';
import { Module } from '@nestjs/common';
import { EventLogController } from './event-log.controller';
import { TypeOrmModule } from '@nestjs/typeorm';
import { EventLog } from './event-log.entity'; // 假设你已经创建了这个实体
import { JwtAuthGuard } from '../auth/jwt-auth.guard';
import { JwtModule } from '../auth/jwt.module';



@Module({
  imports: [
    TypeOrmModule.forFeature([EventLog]),
    JwtModule
  ], // 导入 User 实体
  controllers: [EventLogController],
  providers: [EventLogService, JwtAuthGuard],
  exports: [EventLogService],
})
export class EventLogModule {}
